<?php
	header("Content-type:text/html;charset=utf-8");
	include "../functions.php";//公共函数库
	include "./libs/Smarty.class.php";
	$smarty = new Smarty();
	$smarty->template_dir = "tpl";//模版目录
	$smarty->compile_dir = "compile";//编译目录
	$smarty->cache_dir="cache";//缓存目录
	$smarty->left_delimiter="{hd:";//左边界符
	$smarty->right_delimiter="}";//右边界符
	$smarty->register_block("nocache","nocache_func",false);
	function nocache_func($params ,$content,&$smarty){
		return $content;
	}
?>